package com.ylfstu.override_;

public class Student extends Person{
    private String id;
    private int score;

    public Student(String name, int age, String id, int score) {
//        super(name, age);
        this.id = id;
        this.score = score;
    }

    @Override
    public String say(){
        return super.say() + "my id is " + id + "and my score is " + score;
    }
}
